<!doctype html>
<html>
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="chrome=1">
    <title>Rgb by roycms</title>

    <link rel="stylesheet" href="stylesheets/styles.css">
    <link rel="stylesheet" href="stylesheets/github-light.css">
    <script src="javascripts/scale.fix.js"></script>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <!--[if lt IE 9]>
    <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
  </head>
  <body>
    <div class="wrapper">
      <header>
        <h1 class="header">Rgb</h1>
        <p class="header">IOS RGB UIColor </p>

        <ul>
          <li class="download"><a class="buttons" href="https://github.com/roycms/RGB/zipball/master">Download ZIP</a></li>
          <li class="download"><a class="buttons" href="https://github.com/roycms/RGB/tarball/master">Download TAR</a></li>
          <li><a class="buttons github" href="https://github.com/roycms/RGB">View On GitHub</a></li>
        </ul>

        <p class="header">This project is maintained by <a class="header name" href="https://github.com/roycms">roycms</a></p>


      </header>
      <section>
        <p><img src="https://roycms.github.io/RGB/RGB/logo.png" alt="Logo"></p>

<h1>
<a id="-rgb" class="anchor" href="#-rgb" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a> RGB</h1>

<p>RGB color value to the UIColor conversion kit.</p>

<p><a href="https://github.com/roycms/RAlertView"><img src="https://img.shields.io/shippable/5444c5ecb904a4b21567b0ff.svg?maxAge=2592000?style=flat-square" alt="Shippable"></a>
<a href="http://cocoapods.org/?q=RAlertView"><img src="https://img.shields.io/badge/pod-0.0.1-red.svg" alt="CocoaPods"></a>
<a href="https://github.com/roycms/RAlertView/blob/master/LICENSE"><img src="https://img.shields.io/packagist/l/doctrine/orm.svg?maxAge=2592000?style=flat-square" alt="Packagist"></a>
<a href="mailto:roycms@qq.com"><img src="https://img.shields.io/badge/%20email%20-%20roycms%40qq.com%20-yellowgreen.svg" alt="email"></a></p>

<h2>
<a id="installation" class="anchor" href="#installation" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Installation</h2>

<ul>
<li>Import the main header file：<code>#import "RRGB.h"</code>
</li>
</ul>

<h2>
<a id="cocoapods" class="anchor" href="#cocoapods" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>cocoapods</h2>

<p><code>pod 'RGB'</code></p>

<h2>
<a id="use" class="anchor" href="#use" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Use</h2>

<p>return type UIColor</p>

<div class="highlight highlight-source-objc"><pre>[<span class="pl-v">self</span>.view <span class="pl-c1">setBackgroundColor:</span><span class="pl-c1">RGB</span>(<span class="pl-s"><span class="pl-pds">@"</span>#1abc9d<span class="pl-pds">"</span></span>)];
[<span class="pl-v">self</span>.view <span class="pl-c1">setBackgroundColor:</span><span class="pl-c1">RGB16</span>(0x1abc9d)];</pre></div>

<h2>
<a id="期待" class="anchor" href="#%E6%9C%9F%E5%BE%85" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>期待</h2>

<ul>
<li>如果在使用过程中遇到BUG，希望你能Issues我，谢谢（或者尝试下载最新的框架代码看看BUG修复没有）</li>
<li>如果在使用过程中发现功能不够用，希望你能Issues我，我非常想为这个框架增加更多好用的功能，谢谢</li>
<li>如果你想为RAlertView输出代码，请拼命Pull Requests我</li>
</ul>
      </section>
      <footer>
        <p><small>Hosted on <a href="https://pages.github.com">GitHub Pages</a> using the Dinky theme</small></p>
      </footer>
    </div>
    <!--[if !IE]><script>fixScale(document);</script><![endif]-->
		
  </body>
</html>
